/**
 * Collaborative Story Development Web Application (CSDApp) 
 * Copyright Anton Strack 2014
 *
 * This file is part of Collaborative Story Development Application (CSDApp).
 *
 * CSDApp is free software: you can redistribute it and/or modify it under the
 * terms of the GNU General Public License as published by the Free Software
 * Foundation, either version 3 of the License, or any later version.
 *
 * CSDApp is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along with
 * CSDApp. If not, see <http://www.gnu.org/licenses/>.
 *
 */
package csdwa;

/**
 * This class maps one notification template to one recipient.
 *
 * @author Anton Strack
 */
public class NotificationRecipientMap {

    /**
     * The notification type id indicates the notification template that the
     * notification was generated from.
     */
    private int notificationTypeId;
    /**
     * The user id is the id of the recipient registered to receive the specific
     * type of notification.
     */
    private int userId;

    /**
     * Construct the notificationRecipient object
     */
    public NotificationRecipientMap() {
    }

    /**
     * The notification type id indicates the notification template that the
     * notification was generated from.
     * @return the notificationTypeId
     */
    public int getNotificationTypeId() {
        return notificationTypeId;
    }

    /**
     * The notification type id indicates the notification template that the
     * notification was generated from.
     * @param notificationTypeId the notificationTypeId to set
     */
    public void setNotificationTypeId(int notificationTypeId) {
        this.notificationTypeId = notificationTypeId;
    }

    /**
     * The user id is the id of the recipient registered to receive the specific
     * type of notification.
     * @return the userId
     */
    public int getUserId() {
        return userId;
    }

    /**
     * The user id is the id of the recipient registered to receive the specific
     * type of notification.
     * @param userId the userId to set
     */
    public void setUserId(int userId) {
        this.userId = userId;
    }
}
